﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 抽检表
    /// </summary>
    [SugarTable("cks_spotcheck")]
    [Table(Name = "cks_spotcheck")]
    public class CksSpotCheck  {

        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary = true, IsIdentity = true)]
        public long SpotCheckId { get; set; }

        /// <summary>
        /// 抽检批次 
        /// </summary>
        public string BatchCode { get; set; }

        /// <summary>
        /// 产品唯一编码
        /// </summary>
        public string PrimaryCode { get; set; }

        /// <summary>
        /// 产品类型 1：绿兔子 2：红兔子
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

    }
}
